#!/bin/bash
if [[ $(ps auwx | grep ptsoftware.phpscript.php | wc -l) -lt 2 ]]; 
then /usr/bin/php /var/www/html/backend/ptsoftware.edm.phpscript.php &
else echo "process runs just fine @  $(date +%Y-%m-%d----%H:%M:%S )">>/var/log/process_daemon.log
fi